package com.itheima.service;

import com.itheima.domain.store.Question;

import java.util.List;

public interface QuestionService {
    //查找所有
    List<Question> findAll(String pageNum, String pageSize);

    //新增
    String save(Question question);

    //根据id删除
    Boolean deleteByIds(String ids);


    //根据id查找
    Question findById(String id);

    //更新数据
    void update(Question question,Boolean flag);
}
